/*
 * Powered By [Frank-Liz-Lee]
 * Copyright(C) 2012-2016 Liz Company
 * All rights reserved.
 */
package com.linln.modules.system.domain;

import java.io.Serializable;
import java.util.Date;

/**
 *
 */
public class Dept implements Serializable {

    private static final long serialVersionUID = 1L;

    /* 主键ID */
    private Long id;

    /* 部门名称 */
    private String title;

    /* 父级ID */
    private Long pid;

    /* 所有父级编号 */
    private String pids;

    /* 排序 */
    private Integer sort;

    /* 备注 */
    private String remark;

    /* 创建时间 */
    private java.sql.Timestamp createDate;

    /* 更新时间 */
    private java.sql.Timestamp updateDate;

    /* 创建用户 */
    private Long createBy;

    /* 更新用户 */
    private Long updateBy;

    /* 状态（1:正常,2:冻结,3:删除） */
    private Byte status;


    /* get 主键ID */
    public Long getId() {
        return id;
    }

    /* set 主键ID */
    public void setId(Long id) {
        this.id = id;
    }
    /* get 部门名称 */
    public String getTitle() {
        return title;
    }

    /* set 部门名称 */
    public void setTitle(String title) {
        this.title = title;
    }
    /* get 父级ID */
    public Long getPid() {
        return pid;
    }

    /* set 父级ID */
    public void setPid(Long pid) {
        this.pid = pid;
    }
    /* get 所有父级编号 */
    public String getPids() {
        return pids;
    }

    /* set 所有父级编号 */
    public void setPids(String pids) {
        this.pids = pids;
    }
    /* get 排序 */
    public Integer getSort() {
        return sort;
    }

    /* set 排序 */
    public void setSort(Integer sort) {
        this.sort = sort;
    }
    /* get 备注 */
    public String getRemark() {
        return remark;
    }

    /* set 备注 */
    public void setRemark(String remark) {
        this.remark = remark;
    }
    /* get 创建时间 */
    public java.sql.Timestamp getCreateDate() {
        return createDate;
    }

    /* set 创建时间 */
    public void setCreateDate(java.sql.Timestamp createDate) {
        this.createDate = createDate;
    }
    /* get 更新时间 */
    public java.sql.Timestamp getUpdateDate() {
        return updateDate;
    }

    /* set 更新时间 */
    public void setUpdateDate(java.sql.Timestamp updateDate) {
        this.updateDate = updateDate;
    }
    /* get 创建用户 */
    public Long getCreateBy() {
        return createBy;
    }

    /* set 创建用户 */
    public void setCreateBy(Long createBy) {
        this.createBy = createBy;
    }
    /* get 更新用户 */
    public Long getUpdateBy() {
        return updateBy;
    }

    /* set 更新用户 */
    public void setUpdateBy(Long updateBy) {
        this.updateBy = updateBy;
    }
    /* get 状态（1:正常,2:冻结,3:删除） */
    public Byte getStatus() {
        return status;
    }

    /* set 状态（1:正常,2:冻结,3:删除） */
    public void setStatus(Byte status) {
        this.status = status;
    }

    public String toString() {
        return "Dept {" +
                " , id = " + id +
                " , title = " + title +
                " , pid = " + pid +
                " , pids = " + pids +
                " , sort = " + sort +
                " , remark = " + remark +
                " , createDate = " + createDate +
                " , updateDate = " + updateDate +
                " , createBy = " + createBy +
                " , updateBy = " + updateBy +
                " , status = " + status +
            "}";
        }
}